package com.goodboys.base.exception;

/**
 * Created by CJ on 2018-03-29.
 */
public enum GoodboysRespEnmu {

    //1开头-告知用户的配置
    //9开头-系统级别内部错误
    SUCESS("1000", "操作成功!"),
    API_LOGIN_ERROR("10002","登录失败！"),
    PARAM_FILL_IN_ERROR("90001","参数填写错误,请检查。"),
    FALT_UNKNOW("1001", "系统异常，请稍后再试试吧。");

    private final String code;
    private final String msg;
    GoodboysRespEnmu(String code, String msg){
        this.code = code;
        this.msg = msg;
    }
    public String code() {
        return code;
    }

    public String msg() {
        return msg;
    }

}
